﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BoatNGoat.Server;
using SharpDX;
using SharpDX.Toolkit;

namespace BoatNGoat
{
    public class Player : IMobile, IUpdateable
    {
        public Player()
        {
            Position = new Vector2(250, 250);
            Velocity = Vector2.Zero;
            EntityId = 55999;
            MoveSpeed = 1;
        }

        public int EntityType
        {
            get { return 0; }
        }

        public int MoveSpeed { get; set; }
        public int EntityId { get; set; }
        public Vector2 Position { get; set; }
        public Vector2 Velocity { get; set; }

        public void Update(GameTime gameTime)
        {
            Position += Velocity*(float)gameTime.ElapsedGameTime.TotalSeconds;
        }
    }
}
